<!DOCTYPE html>
<html lang="en">
<head>
    {% block head %}
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" href="{{ url_for('static', filename='imgs/favicon.ico') }}" type="image/x-icon">
    <title>{{ user.username }} 的观影列表</title>
    <link rel="stylesheet" href="{{ url_for('static',filename='css/bootstrap.min.css') }}">
    {% endblock %}
</head>
<body>
    <div class="container mt-4">
        <div class="row">
            <div class="col-md-6 mx-auto">
                {% for msg in get_flashed_messages() %}
                    <div class="alert alert-danger alert-dismissible fade show">
                        <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
                        <strong>{{ msg }}</strong>
                    </div>
                {% endfor %}
                <h2 class="text-center">{{ user.username }}的观影列表</h2>
                <nav class="navbar navbar-expand-sm navbar-dark bg-dark mt-4 mb-3">
                    <div class="container-fluid">
                        <!-- 链接 -->
                        <ul class="navbar-nav text-white">
                            <li class="nav-item">
                                <a class="nav-link" href="#">首页</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link"  href="#">登录</a>
                            </li>
                        </ul>
                    </div>
                </nav>
                {% block content %}
                {% endblock %}
            </div>
        </div>
    </div>

    <footer class="text-center mt-5">
        <small>&版权所有；2024 <a href="https://www.gzpt.edu.cn">赣州职业技术学院</a></small>
    </footer>
    <script src="{{ url_for('static', filename='js/bootstrap.bundle.min.js') }}"></script>
</body>
</html>